package com.netease.course.homework.serivce.impl;

import com.netease.course.homework.dao.UserDao;
import com.netease.course.homework.meta.User;
import com.netease.course.homework.serivce.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by yanfa on 2016/10/30.
 */
@Service
public class UserServiceImpl implements UserService{

    @Autowired
    UserDao userDao;

    public List<User> findAll() {
        return this.userDao.findAll();
    }
}
